import {http} from '../request/http'

export class RequestApi {
	// 获取登录验证码
	static getDict = () => http({
		url: '/app-api/system/dict-data/getDictionaryTree'
	})
	static getRegisterCode = (data) => http({
		url: '/app-api/user/auth/app_device_login',
		method: 'POST',
		data
	})
	// 获取app信息
	static getAppConfig = () => http({
		url: '/app-api/app/app/getConfig',
		method: 'GET',
		data: {
			type: 1,
			status: 1
		}
	})
}
